<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>

<h1>登录页面</h1>
<!--1.GET请求在浏览器中发送登录请求-->
<!--2.form表单发送登录请求-->
<!--3.通过JavaScript发送登录请求-->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
    const data = {username:"aaa", password: "bbb"}
    axios.post("http://localhost:8080/v1/user/login", data).then(response => {
        console.log(response.data);
    })
</script>

</body>
</html>